package com.xebest.web.form;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author 杜春静
 */

public class XeVenStoreAllotUpdateForm {
    /**
     * 调拨单号
     */
    private String allotCode;

    /**
     * 调入仓库id
     */
    @NotNull(message = "调入仓库id不能为空")
    @NotEmpty(message = "调入仓库id不能为空")
    @Length(min = 1, max = 15, message = "调入仓库id长度不能大于15个字符")
    private String receiptStoreId;

    /**
     * 调出仓库id
     */
    @NotNull(message = "调出仓库id不能为空")
    @NotEmpty(message = "调出仓库id不能为空")
    @Length(min = 1, max = 15, message = "调出仓库id长度不能大于15个字符")
    private String sendStoreId;

    /**
     * 调拨商品总额
     */

    private BigDecimal allotAmount;


    /**
     * 调拨单备注
     */
    private String allotRemark;


    /**
     * 调入仓库名称
     */
    @NotNull(message = "调入仓库名称不能为空")
    @NotEmpty(message = "调入仓库名称不能为空")
    private String receiptStoreName;

    /**
     * 调出仓库名称
     */
    @NotNull(message = "调出仓库名称不能为空")
    @NotEmpty(message = "调出仓库名称不能为空")
    private String sendStoreName;
    /**
     * 调拨状态 1:待审核;2：已驳回；3:已废弃；4：已完成
     */
    private Integer allotStatus;


    /**
     * 调拨单商品明细
     */
    List<XeVenStoreAllotDetailForm> allotDetailList;


    /**
     * @return the receiptStoreId
     */

    public String getReceiptStoreId() {

        return receiptStoreId;
    }


    /**
     * @param receiptStoreId the receiptStoreId to set
     */

    public void setReceiptStoreId(String receiptStoreId) {

        this.receiptStoreId = receiptStoreId;
    }


    /**
     * @return the sendStoreId
     */

    public String getSendStoreId() {

        return sendStoreId;
    }


    /**
     * @param sendStoreId the sendStoreId to set
     */

    public void setSendStoreId(String sendStoreId) {

        this.sendStoreId = sendStoreId;
    }


    /**
     * @return the allotAmount
     */

    public BigDecimal getAllotAmount() {

        return allotAmount;
    }


    /**
     * @param allotAmount the allotAmount to set
     */

    public void setAllotAmount(BigDecimal allotAmount) {

        this.allotAmount = allotAmount;
    }

    /**
     * @return the allotRemark
     */

    public String getAllotRemark() {

        return allotRemark;
    }


    /**
     * @param allotRemark the allotRemark to set
     */

    public void setAllotRemark(String allotRemark) {

        this.allotRemark = allotRemark;
    }


    /**
     * @return the receiptStoreName
     */

    public String getReceiptStoreName() {

        return receiptStoreName;
    }


    /**
     * @param receiptStoreName the receiptStoreName to set
     */

    public void setReceiptStoreName(String receiptStoreName) {

        this.receiptStoreName = receiptStoreName;
    }


    /**
     * @return the sendStoreName
     */

    public String getSendStoreName() {

        return sendStoreName;
    }


    /**
     * @param sendStoreName the sendStoreName to set
     */

    public void setSendStoreName(String sendStoreName) {

        this.sendStoreName = sendStoreName;
    }


    /**
     * @return the allotDetailList
     */

    public List<XeVenStoreAllotDetailForm> getAllotDetailList() {

        return allotDetailList;
    }


    /**
     * @param allotDetailList the allotDetailList to set
     */

    public void setAllotDetailList(List<XeVenStoreAllotDetailForm> allotDetailList) {

        this.allotDetailList = allotDetailList;
    }


    /**
     * @return the allotCode
     */

    public String getAllotCode() {

        return allotCode;

    }


    /**
     * @param allotCode the allotCode to set
     */

    public void setAllotCode(String allotCode) {

        this.allotCode = allotCode;

    }


    /**
     * @return the allotStatus
     */

    public Integer getAllotStatus() {

        return allotStatus;

    }


    /**
     * @param allotStatus the allotStatus to set
     */

    public void setAllotStatus(Integer allotStatus) {

        this.allotStatus = allotStatus;

    }


}
  
